[−][src]Crate tiny_keccak
Keccak derived functions specified in FIPS-202
, SP800-185
and KangarooTwelve
.
Example
let input_a = b"hello world"; let input_b = b"!"; let mut output = [0u8; 32]; hasher.update(input_a); hasher.update(input_b); hasher.finalize(&mut output);
Credits
coruus/keccak-tiny
for C implementation of keccak function@quininer
forno-std
support and rust implementationSP800-185
mimoo/GoKangarooTwelve
for GO implementation ofKangarooTwelve
@Vurich
for optimizations@oleganza
for adding support for half-duplex use
License
CC0
. Attribution kindly requested. Blame taken too,
but not liability.
Structs
CShake | The |
KangarooTwelve | The |
KangarooTwelveXof | The |
Keccak | The |
Kmac | The |
KmacXof | The |
ParallelHash | The |
ParallelHashXof | The |
Sha3 | The |
Shake | The |
TupleHash | The |
TupleHashXof | The |
Traits
Hasher | A trait for hashing an arbitrary stream of bytes. |
IntoXof | |
Xof | Extendable-output function ( |
Functions
keccakf |
|
keccakp |
|